package com.grupobbva.iici.entity;
/**
 * Key class for Entity Bean: Tiici_log
 */
public class Tiici_logKey implements java.io.Serializable {
	static final long serialVersionUID = 3206093459760846163L;
	/**
	 * Implementation field for persistent attribute: cod_log
	 */
	public java.math.BigDecimal cod_log;
	/**
	 * Creates an empty key for Entity Bean: Tiici_log
	 */
	public Tiici_logKey() {
	}
	/**
	 * Creates a key for Entity Bean: Tiici_log
	 */
	public Tiici_logKey(java.math.BigDecimal cod_log) {
		this.cod_log = cod_log;
	}
	/**
	 * Returns true if both keys are equal.
	 */
	public boolean equals(java.lang.Object otherKey) {
		if (otherKey instanceof com.grupobbva.iici.entity.Tiici_logKey) {
			com.grupobbva.iici.entity.Tiici_logKey o = (com.grupobbva.iici.entity.Tiici_logKey) otherKey;
			return ((this.cod_log.equals(o.cod_log)));
		}
		return false;
	}
	/**
	 * Returns the hash code for the key.
	 */
	public int hashCode() {
		return (cod_log.hashCode());
	}
}
